<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>现代浏览器博物馆</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/your-style.css" rel="stylesheet">
    <!-- 以下两个插件用于在IE8以及以下版本浏览器支持HTML5元素和媒体查询，如果不需要用可以移除 -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
        body {
            padding-top: 50px;
            padding-bottom: 40px;
            color: #5a5a5a;
        }

        hr {
            margin: 30px 0px;
        }

        .carousel {
            height: 490px;
            background-color: #080808;
            margin-bottom: 30px;
        }

        .carousel .item {
            height: 490px;
            background-color: #080808;
        }

        .carousel img {
            width: 100%;
        }

        .carousel-caption p {
            font-size: 16px;
            margin-bottom: 20px;
            line-height: 15px;
            /*text-align: center;*/

        }

        .container-fluid .col-md-4 {
            text-align: center;
        }

        .feature {
            margin: 20px 0;
        }

        .feature-heading {
            font-size: 50px;
            color: #428bca;
            margin-top: 100px;
        }

        .feature-heading .text-muted {
            font-size: 26px;
            color: #8c8c8c;
            padding: 5px;
        }

    </style>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top navbar-inverse" role="navigation">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#demo-navbar" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#top">现代浏览器博物馆</a>
        </div>
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="demo-navbar">
            <ul class="nav navbar-nav">
                <li><a href="#top">简述</a></li>
                <li class="active"><a href="#">综述</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">特点<span class="caret"></span></a>
                    <ul class="dropdown-menu" role="menu">
                        <li><a href="#Chrome" data-tab="tab-chrome">Chrome</a></li>
                        <li><a href="#Firefox" data-tab="tab-firefox">Firefox</a></li>
                        <li><a href="#Safari" data-tab="tab-safari">Safari</a></li>
                        <li><a href="#Opera" data-tab="tab-opera">Opera</a></li>
                        <li><a href="#IE" data-tab="tab-ie">IE</a></li>
                    </ul>
                <li><a href="#" data-toggle="modal"data-target="#about">关于</a></li>
            </ul>
        </div>
    </div>
</nav>
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
    <!-- Indicators -->
    <ol class="carousel-indicators">
        <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
        <li data-target="#carousel-example-generic" data-slide-to="1"></li>
        <li data-target="#carousel-example-generic" data-slide-to="2"></li>
        <li data-target="#carousel-example-generic" data-slide-to="3"></li>
        <li data-target="#carousel-example-generic" data-slide-to="4"></li>
    </ol>

    <!-- Wrapper for slides -->
    <div class="carousel-inner" role="listbox">
        <div class="item active">
            <img src="images/chrome-big.jpg" alt="1 slide">

            <div class="carousel-caption">
                <h1>Chrome</h1>

                <p>Google Chrome,又称Google浏览器,是一种由Google(谷歌)公司开发的网页浏览器。</p>

                <p><a class="btn btn-lg btn-primary" href="http://www.google.cn/intl/zh-CN/chrome/browser/"
                      role="button" target="_blank">点击我下载</a></p>
            </div>
        </div>
        <div class="item">
            <img src="images/firefox-big.jpg" alt="2 slide">

            <div class="carousel-caption">
                <h1>Firefox</h1>

                <p>Mozilla Firefox,中文名通常称为"火狐"或者"火狐浏览器",是一个开源网页浏览器。</p>

                <p><a class="btn btn-lg btn-primary" href="http://www.firefox..com.cn/download/" role="button"
                      target="_blank">点击我下载</a></p>
            </div>
        </div>
        <div class="item">
            <img src="images/safari-big.jpg" alt="3 slide">

            <div class="carousel-caption">
                <h1>Safari</h1>

                <p>Safari是苹果计算机的最新操作系统Mac OS X中的浏览器。</p>

                <p><a class="btn btn-lg btn-primary" href="http://www.apple.com/cn/safari/" role="button"
                      target="_blank">点击我下载</a></p>
            </div>
        </div>
        <div class="item">
            <img src="images/opera-big.jpg" alt="4 slide">

            <div class="carousel-caption">
                <h1>Opera</h1>

                <p>Opera浏览器是一款挪威Opera Software ASA公司制作的支持多页面标签式浏览的网页浏览器。</p>

                <p><a class="btn btn-lg btn-primary" href="http://www.Opera.com/zh-CN/" role="button" target="_blank">点击我下载</a>
                </p>
            </div>
        </div>
        <div class="item">
            <img src="images/ie-big.jpg" alt="5 slide">

            <div class="carousel-caption">
                <h1>IE</h1>

                <p>Internet Explorer,简称IE,是微软公司推出的一款网页浏览器。</p>

                <p><a href="http://ie.microsoft.com" class="btn btn-lg btn-primary" target="_blank"
                      role="button">点击我下载</a>
                </p>
            </div>
        </div>
    </div>

    <!-- Controls -->
    <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
        <span class="sr-only">上一页</span>
    </a>
    <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
        <span class="sr-only">下一页</span>
    </a>
</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-md-4"><h2>Chrome</h2>
            <img class="img-circle" src="images/chrome-logo-small.jpg" alt="chrome"/>

            <p>Google Chrome,又称Google浏览器,是一种由Google(谷歌)公司开发的网页浏览器。</p>

            <p><a class="btn btn-default" href="http://www.google.cn/intl/zh-CN/chrome/browser/"
                  role="button" target="_blank">下载</a></p></div>
        <div class="col-md-4"><h2>Firefox</h2>
            <img class="img-circle" src="images/firefox-logo-small.jpg" alt="firefox"/>

            <p>Mozilla Firefox,中文名通常称为"火狐"或者"火狐浏览器",是一个开源网页浏览器。</p>

            <p><a class="btn btn-default" href="http://www.firefox.com.cn/download/" role="button"
                  target="_blank">下载</a></p></div>
        <div class="col-md-4"><h2>Safari</h2>
            <img class="img-circle" src="images/safari-logo-small.jpg" alt="safari"/>

            <p>Safari是苹果计算机的最新操作系统Mac OS X中的浏览器。</p>

            <p><a class="btn btn-default" href="http://www.apple.com/cn/safari/" role="button"
                  target="_blank">下载</a></p></div>
    </div>
    <hr/>
    <ul class="nav nav-tabs" role="tablist" id="tab-list">
        <li role="tab" class="active"><a href="#Chrome" role="tab" data-toggle="tab">Chrome</a></li>
        <li role="tab"><a href="#Firefox" role="tab" data-toggle="tab">Firefox</a></li>
        <li role="tab"><a href="#Safari" role="tab" data-toggle="tab">Safari</a></li>
        <li role="tab"><a href="#Opera" role="tab" data-toggle="tab">Opera</a></li>
        <li role="tab"><a href="#IE" role="tab" data-toggle="tab">IE</a></li>
    </ul>
    <div class="tab-content">
        <div class="tab-pane active" id="Chrome">
            <div class="row feature">
                <div class="col-md-7">
                    <h2 class="feature-heading">Google Chrome <span class="text-muted">使用最广的浏览器</span></h2>

                    <p class="lead">Google Chrome,又称Google浏览器,是一种由Google(谷歌)公司开发的网页浏览器，
                        该浏览器是基于其他开源软件所撰写，包括Webkit、目标是提升稳定性、速度和安全性，并创造出简单且有效率的使用者界面。</p>
                </div>
                <div class="col-md-5">
                    <img src="images/chrome-logo.jpg" alt="chrome" class="feature-image img-responsive"/>
                </div>
            </div>
        </div>
        <div class="tab-pane" id="Firefox">
            <div class="row feature">
                <div class="col-md-5">
                    <img src="images/firefox-logo.jpg" alt="firefox" class="feature-image img-responsive"/>
                </div>
                <div class="col-md-7">
                    <h2 class="feature-heading">Mozilla Firefox<span class="text-muted">美丽的狐狸</span></h2>

                    <p class="lead">Mozilla Firefox,中文名通常称为"火狐"或者"火狐浏览器",是一个开源网页浏览器，使用Gecko引擎(非IE内核)，支
                        持多种操作系统如Windows、Mac和Linux。
                    </p>
                </div>
            </div>
        </div>
        <div class="tab-pane" id="Safari">
            <div class="row feature">
                <div class="col-md-7">
                    <h2 class="feature-heading">Safari <span class="text-muted">使用最广的浏览器</span></h2>

                    <p class="lead">Safari是苹果计算机的最新操作系统Mac OS X中的浏览器，使用了KDE的KHTML作为浏览器的运算核心。
                        Safari在2003年1月7日首度发行测试版，并成为Mac OS X V10.3与之后的浏览器，也是iPhone与IPad touch的指定浏览器。
                    </p>
                </div>
                <div class="col-md-5">
                    <img src="images/safari-logo.jpg" alt="safari" class="feature-image img-responsive"/>
                </div>
            </div>
        </div>
        <div class="tab-pane" id="Opera">
            <div class="row feature">
                <div class="col-md-5">
                    <img src="images/opera-logo.jpg" alt="opera" class="feature-image img-responsive"/>
                </div>
                <div class="col-md-7">
                    <h2 class="feature-heading">Opera<span class="text-muted">小众但易用</span></h2>

                    <p class="lead">Opera浏览器，是一款挪威Opera Software
                        ASA公司制作的支持多页面标签式浏览的网络浏览器。使跨平台浏览器可以在Windows、Mac和Linux三个操作系统平台上运行
                    </p>
                </div>
            </div>
        </div>
        <div class="tab-pane" id="IE">
            <div class="row feature">
                <div class="col-md-7">
                    <h2 class="feature-heading">IE<span class="text-muted">懂你的</span></h2>

                    <p class="lead">
                        Internet Explorer,原称Microsoft Internet Explorer(6版本以前)和Windows Internet
                        Explorer(7,8,9,10版本)，简称IE，是美国微软公司推出的一款网页浏览器，它采用的排版引擎(俗称内核)为Trident.
                    </p>
                </div>
                <div class="col-md-5">
                    <img src="images/ie-logo.jpg" alt="ie" class="feature-image img-responsive"/>
                </div>
            </div>
        </div>
    </div>
    <hr/>
    <footer>
        <p class="pull-right"><a href="#top">回到顶部</a></p>

        <p>&copyCopyright 2015-10</p>
    </footer>
</div>
<div class="modal fade" id="about">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">关于</h4>
            </div>
            <div class="modal-body">
                <p>One fine body&hellip;<br/>
                    A rendered modal with header, body, and set of actions in the footer.<br/>
                    Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.

                </p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<!-- 如果要使用Bootstrap的js插件，必须先调入jQuery -->
<script src="js/jquery-1.11.1.min.js"></script>
<!-- 包括所有bootstrap的js插件或者可以根据需要使用的js插件调用　-->
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script>
    $(document).ready(function () {
        $("#demo-navbar .dropdown-menu a").click(function () {
            var href = $(this).attr("href");
            $("#tab-list a[href='"+href+"']").tab("show");
        });
    });
</script>
</body>
</html>